package org.webball.base.interfaces;
import org.newdawn.slick.Input;

/**
 * Interface that forces input events handling.
 * @author Jacek Gawron
 *
 */

public interface IController {
	
	/**
	 * check what has been clicked and depending on the results performs the actions
	 * @param pitch
	 *- including players to control
	 * @param input
	 *- wrapper for keyboard and mouse
	 */
	public void action(IPitch pitch, Input input);
	
	
	/**
	 * sets the team which will be controlled
	 *@param team
	 *-which team select (0 or 1)
	 */
	public void setTeam(int team);

}
